[INFO] cloning repository https://github.com/gyng/rust-primer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyng/rust-primer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58f4c066238251398eb66bddc6b90e01a03d7dc1
[INFO] building gyng/rust-primer against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyng%2Frust-primer" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gyng/rust-primer on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gyng/rust-primer
[INFO] finished tweaking git repo https://github.com/gyng/rust-primer
[INFO] tweaked toml for git repo https://github.com/gyng/rust-primer written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/gyng/rust-primer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81603d656e51e2f0bc8aa30fbc328e8dce35e2c789916ac72f817008cce99242
[INFO] running `Command { std: "docker" "start" "-a" "81603d656e51e2f0bc8aa30fbc328e8dce35e2c789916ac72f817008cce99242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81603d656e51e2f0bc8aa30fbc328e8dce35e2c789916ac72f817008cce99242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81603d656e51e2f0bc8aa30fbc328e8dce35e2c789916ac72f817008cce99242", kill_on_drop: false }`
[INFO] [stdout] 81603d656e51e2f0bc8aa30fbc328e8dce35e2c789916ac72f817008cce99242
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf4dc01752fb3a9dcca9c46981c8ba684fc91ad6cf54826a05c22c937c86462c
[INFO] running `Command { std: "docker" "start" "-a" "bf4dc01752fb3a9dcca9c46981c8ba684fc91ad6cf54826a05c22c937c86462c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling textwrap v0.12.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling os_str_bytes v2.4.0
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling structs-exercise v0.1.0 (/opt/rustwide/workdir/02-basics/exercise)
[INFO] [stderr]    Compiling solution2 v0.1.0 (/opt/rustwide/workdir/02-basics/solution)
[INFO] [stderr]    Compiling exercise-structs v0.1.0 (/opt/rustwide/workdir/03-structs-lifetimes/exercise)
[INFO] [stderr]    Compiling exercise-libraries v0.1.0 (/opt/rustwide/workdir/07-external-libraries/exercise)
[INFO] [stderr]    Compiling exercise-generics v0.1.0 (/opt/rustwide/workdir/04-generics-traits/exercise)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let x: u8 = 1;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xs`
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let xs = [1, 2, 3, 4, 5];
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_xs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutability` is never used
[INFO] [stdout]  --> 02-basics/exercise/src/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn mutability() -> u8 {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `casting` is never used
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn casting() -> f64 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collections` is never used
[INFO] [stdout]   --> 02-basics/exercise/src/main.rs:27:4
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn collections() -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stdout] error: expected one of `!` or `::`, found `:`
[INFO] [stdout]   --> 07-external-libraries/exercise/src/main.rs:21:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | https://docs.serde.rs/serde_json/#parsing-json-as-strongly-typed-data-structures
[INFO] [stdout]    |      ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stdout] error: expected identifier, found `?`
[INFO] [stdout]   --> 04-generics-traits/exercise/src/main.rs:24:37
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut map: HashMap<&str, ???> = HashMap::new();
[INFO] [stdout]    |             --------                ^ expected identifier
[INFO] [stdout]    |             |      |
[INFO] [stdout]    |             |      help: use `=` if you meant to assign
[INFO] [stdout]    |             while parsing the type for `mut map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
[INFO] [stdout]   --> 04-generics-traits/exercise/src/main.rs:24:34
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut map: HashMap<&str, ???> = HashMap::new();
[INFO] [stdout]    |                                  ^ expected one of 8 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `x` is never read
[INFO] [stdout]  --> 02-basics/solution/src/main.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut x = 1;
[INFO] [stdout]   |             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutability` is never used
[INFO] [stdout]  --> 02-basics/solution/src/main.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn mutability() -> u8 {
[INFO] [stdout]   |    ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `casting` is never used
[INFO] [stdout]   --> 02-basics/solution/src/main.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn casting() -> f64 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `collections` is never used
[INFO] [stdout]   --> 02-basics/solution/src/main.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn collections() -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/shapes/circle.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> 04-generics-traits/exercise/src/main.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::collections::HashMap;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> 04-generics-traits/exercise/src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod tests {
[INFO] [stdout]   | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-libraries` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | mod tests {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-generics` due to 3 previous errors; 1 warning emitted
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `height` on type `&Rectangle`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |         self.width * self.height
[INFO] [stdout]   |                           ^^^^^^ unknown field
[INFO] [stdout]   |
[INFO] [stdout]   = note: available fields are: `width`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Rectangle` has no field named `height`
[INFO] [stdout]  --> 03-structs-lifetimes/exercise/src/main.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         height: 3.0f64,
[INFO] [stdout]   |         ^^^^^^ `Rectangle` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `area` is private
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     println!("Area of a 2 x 3 rectangle is {:?}", rect.area());
[INFO] [stdout]    |                                                        ^^^^ private associated function
[INFO] [stdout]    |
[INFO] [stdout]   ::: 03-structs-lifetimes/exercise/src/shapes/rectangle.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 6  |     fn area(&self) -> f64 {
[INFO] [stdout]    |     --------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Circle` has no field named `radius`
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let circ = Circle { radius: 1.0f64 };
[INFO] [stdout]    |                         ^^^^^^ `Circle` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `area` found for struct `Circle` in the current scope
[INFO] [stdout]   --> 03-structs-lifetimes/exercise/src/main.rs:13:52
[INFO] [stdout]    |
[INFO] [stdout] 13 |     println!("Area of a unit circle is {:?}", circ.area());
[INFO] [stdout]    |                                                    ^^^^ method not found in `Circle`
[INFO] [stdout]    |
[INFO] [stdout]   ::: 03-structs-lifetimes/exercise/src/shapes/circle.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Circle {}
[INFO] [stdout]    | ----------------- method `area` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0560, E0599, E0609, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0560`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercise-structs` due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bf4dc01752fb3a9dcca9c46981c8ba684fc91ad6cf54826a05c22c937c86462c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf4dc01752fb3a9dcca9c46981c8ba684fc91ad6cf54826a05c22c937c86462c", kill_on_drop: false }`
[INFO] [stdout] bf4dc01752fb3a9dcca9c46981c8ba684fc91ad6cf54826a05c22c937c86462c
